<ul>
	<li class="first"><a href="<?php echo $engine['url']; ?>">Home</a></li>
	<li><a href="<?php echo $engine['url']; ?>?app=news&act=index">Latest News</a></li>
	<?php if ( $user['user_level'] >= $options['gm'] ): ?>
		<li><a href="<?php echo $engine['url']; ?>?app=news&act=add">Add News</a></li>
		<li><a href="<?php echo $engine['url']; ?>?app=news&act=index&type=patcher">Patcher news</a></li>
	<?php endif; ?>
	<?php if ( $user['user_level'] >= $options['user'] ): ?>
		<li><a href="<?php echo $engine['url']; ?>?app=account&act=change">Change Password</a></li>
		<li><a href="<?php echo $engine['url']; ?>?app=account&act=logout">Logout/a></li>
	<?php else: ?>
		<li><a href="<?php echo $engine['url']; ?>?app=account&act=register">Register</a></li>
		<li><a href="<?php echo $engine['url']; ?>?app=account&act=login">Login</a></li>
		<li><a href="<?php echo $engine['url']; ?>?app=account&act=remind">Forgot Password</a></li>
	<?php endif; ?>
	<li><a href="<?php echo $engine['url']; ?>?app=top&act=guild">Top Guilds</a></li>
</ul>